Ext.define("admin.view.basicInfo.cardUserListGridView", {
    extend: 'Ext.grid.Panel',
    alias: 'widget.basicInfo.cardUserListGridView',
    columns: [{
        text: '用户编号',
        width: 150,
        sortable: true,
        dataIndex: 'cardUserIdentifier'
    },{
        text: '用户名称',
        width: 150,
        sortable: true,
        dataIndex: 'cardUserName'
    }, {
        text: '身份证号',
        width: 150,
        sortable: true,
        dataIndex: 'cardUserIdCode'
    }, {
        text: '卡片编号',
        width: 150,
        sortable: true,
        dataIndex: 'cardSerialNumber'
    }, {
        text: '卡片内码',
        width: 150,
        sortable: true,
        dataIndex: 'cardIdentifier'
    }, {
        text: '卡片状态',
        width: 150,
        sortable: true,
        dataIndex: 'cardStatus'
    }],
    selModel: {
        injectCheckbox: 0,
        mode: "SIMPLE",
        checkOnly: true
    },
    selType: "checkboxmodel",
    dockedItems: [{
        xtype:'pagingtoolbar',
        dock:'bottom',
        displayInfo:true
    },{
        xtype: 'toolbar',
        dock: 'top',
        margin:0,
        items: [{
            text: '添加卡片',
            iconCls: 'addCard_16',
            handler: function () {

            }
        }, {
            text: '添加用户',
            iconCls: 'addUser_16',
            handler: function () {

            }
        }, {
            text: '删 除',
            iconCls: 'delete_16',
            handler: function () {

            }
        }, {
            text: '修 改',
            iconCls: 'edit_16',
            handler: function () {

            }
        }]
    }]
});
